package net.steam.easyjoboa.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Vote entity. @author MyEclipse Persistence Tools
 */

public class Vote implements java.io.Serializable {

	// Fields

	private Integer voteId;
	private String voteName;
	private String voteStatus;
	private String voteContent;
	private Date voteStartDate;
	private Date voteEndDate;
	private Set voteItems = new HashSet(0);
	private Set voteDetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public Vote() {
	}

	/** minimal constructor */
	public Vote(String voteName, String voteStatus, String voteContent,
			Date voteStartDate) {
		this.voteName = voteName;
		this.voteStatus = voteStatus;
		this.voteContent = voteContent;
		this.voteStartDate = voteStartDate;
	}

	/** full constructor */
	public Vote(String voteName, String voteStatus, String voteContent,
			Date voteStartDate, Date voteEndDate, Set voteItems, Set voteDetails) {
		this.voteName = voteName;
		this.voteStatus = voteStatus;
		this.voteContent = voteContent;
		this.voteStartDate = voteStartDate;
		this.voteEndDate = voteEndDate;
		this.voteItems = voteItems;
		this.voteDetails = voteDetails;
	}

	// Property accessors

	public Integer getVoteId() {
		return this.voteId;
	}

	public void setVoteId(Integer voteId) {
		this.voteId = voteId;
	}

	public String getVoteName() {
		return this.voteName;
	}

	public void setVoteName(String voteName) {
		this.voteName = voteName;
	}

	public String getVoteStatus() {
		return this.voteStatus;
	}

	public void setVoteStatus(String voteStatus) {
		this.voteStatus = voteStatus;
	}

	public String getVoteContent() {
		return this.voteContent;
	}

	public void setVoteContent(String voteContent) {
		this.voteContent = voteContent;
	}

	public Date getVoteStartDate() {
		return this.voteStartDate;
	}

	public void setVoteStartDate(Date voteStartDate) {
		this.voteStartDate = voteStartDate;
	}

	public Date getVoteEndDate() {
		return this.voteEndDate;
	}

	public void setVoteEndDate(Date voteEndDate) {
		this.voteEndDate = voteEndDate;
	}

	public Set getVoteItems() {
		return this.voteItems;
	}

	public void setVoteItems(Set voteItems) {
		this.voteItems = voteItems;
	}

	public Set getVoteDetails() {
		return this.voteDetails;
	}

	public void setVoteDetails(Set voteDetails) {
		this.voteDetails = voteDetails;
	}

}